﻿using UnityEngine;
using System.Collections;

public class TweenSlider: NGUITweenValue{
	UISlider m_slider;
	public UISlider MSlider{
		get{
			if(m_slider == null)
				m_slider = GetComponent<UISlider>();
			return m_slider;
		}
	}
	public override void ValueChange(float f){
		MSlider.value = f;
	}
}
